package com.hu.bgp.shared;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.hu.bgp.framework.clientapi.ClientGameContext;
import com.hu.bgp.framework.clientapi.ClientToServerMessage;

/**
 * Interface van de BoardGameService servlet.
 * 
 * @author ejvos
 */
public interface BoardGameService extends RemoteService
{
	public void handleMessage(ClientToServerMessage message);

	public ClientGameContext getClientGameContext();

	public ClientGameTypeCollection getClientGameTypeCollection();

	public String getProfileName();

	public void setProfileName(String profileName);

	public ClientGameInstanceCollection getClientGameInstanceCollection(String gameTypeAlias);

	public ClientGameInstance createNewGameInstance(String gameTypeAlias);

	public String joinGame(String gameTypeAlias, String gameInstanceId);

	public ArrayList<ClientScore> getScores(String gameTypeAlias);
}
